package com.imageflowpro.image_flow_pro.service;

import com.imageflowpro.image_flow_pro.dto.AdminGetOrderListDTO;
import com.imageflowpro.image_flow_pro.dto.CreateOrderDTO;
import com.imageflowpro.image_flow_pro.dto.UserGetOrderListDTO;
import com.imageflowpro.image_flow_pro.po.MediaOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单主表 服务类
 * </p>
 *
 * @author 张家浩
 * @since 2025-05-07
 */
public interface IMediaOrderService extends IService<MediaOrder> {

    void userCreateOrder(CreateOrderDTO createOrderDTO);

    UserGetOrderListDTO userGetOrderList(Long currentId);

    void updateSuperOrder(Long orderId, Boolean state);

    AdminGetOrderListDTO adminGetOrderList();

    void adminUpdateOrderStatus(Long orderId,Integer nowStatus);

    void adminUpdateOrderIsValid(Long orderId);

    void deleteOrderById(Long orderId);

}
